package com.jidu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jidu.common.annotation.Excel;
import com.jidu.common.core.domain.BaseEntity;

/**
 * 学生上课记录签到对象 student_class_time_rel
 * 
 * @author xuliang
 * @date 2024-07-25
 */
@ApiModel(value = "StudentClassTimeRel",description = "学生上课记录签到对象")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("student_class_time_rel")
@Data
public class StudentClassTimeRel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    @ApiModelProperty(value = "学生id")
    private Long studentId;

    @ApiModelProperty(value = "学生课程关系id")
    private Long courseStudentId;

    /** 课程安排时间表id */
    @Excel(name = "课程安排时间表id")
    @ApiModelProperty(value = "课程安排时间表id")
    private Long classTimeId;

    /** 状态（0未签到，1已签到，2请假） */
    @Excel(name = "状态", readConverterExp = "0=未签到，1已签到，2请假")
    @ApiModelProperty(value = "状态")
    private String status;

    /** 删除标志（0正常，1删除） */
    private String delFlag;

}
